﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Data;
using KPIS.GERP.GHRMS.DAL;
using KPIS.GERP.GHRMS.MODEL;
using KPIS.GERP.GHRMS.IBLL;
using KPIS.GERP.GHRMS.IDAL;
using KPIS.GERP.GHRMS.DALFactory;

namespace KPIS.GERP.GHRMS.BLL
{
    public class MasRecordStatusBLL : IMasRecordStatusBLL
    {
        private static readonly IMasRecordStatusDAL DAL = DataAccess.CreateMasRecordStatus();

        private MasRecordStatusInfo rsInfo = new MasRecordStatusInfo();

        public IList<MasRecordStatusInfo> ListRecordStatus()
        {
            return DAL.ListRecordStatus(new MasRecordStatusInfo(0, "", "", SystemInfo._StatusRecord));
        }
        public IList<MasRecordStatusInfo> ListStatusCommand()
        {
            return DAL.ListRecordStatus(new MasRecordStatusInfo(0, "", "", SystemInfo._StatusCommand));
        }
    }
}
